﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RenAi.Medical.Model;
using RenAi.Medical.BLL;
namespace RenAi.Medical.Admin
{
    public partial class AddNews : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            NewBLL bll=new NewBLL ();
            DropDownList1.DataSource = bll.GetNewtypeAll();
            DropDownList1.DataTextField = "NewsType_Name";
            DropDownList1.DataValueField = "NewsType_Id";
            DropDownList1.DataBind();
        }
    }
}